package com.csdj.t309springboot.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
/**
 * <p>
 * 
 * </p>
 *
 * @author 谭湛宇
 * @since 2022-01-10
 */
@Data
public class Carousel implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String imagePath;

    @Override
    public String toString() {
        return "Carousel{" +
            "id=" + id +
            ", imageName=" + imagePath +
        "}";
    }
}
